class A(object):
    bar = 1
    def foo(self):
        print('foo')

    @staticmethod
    def static_foo():
        print('static_foo')
        print(A.bar)

    @classmethod
    def clas_foo(cls):
        print('class_foo')
        print(cls.bar)
        cls().foo()

A.static_foo()
print('-' * 15)
A.clas_foo()